/* 全局样式 */
:root {
    --tcloud-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --tcloud-primary: #0052d9;
    --tcloud-hover: #0066ff;
    --tcloud-dark: #181818;
    --tcloud-light: #f0f2f5;
    --tcloud-gradient: linear-gradient(90deg, #0052d9 0%, #0066ff 100%);
}

body {
    font-family: var(--tcloud-font);
    background-color: var(--tcloud-light);
    color: var(--tcloud-dark);
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 500;
    color: var(--tcloud-dark) !important;
    font-size: 1.25rem;
}

.nav-link {
    color: #666 !important;
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--tcloud-primary) !important;
}

.nav-link.active {
    color: var(--tcloud-primary) !important;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--tcloud-gradient);
}

/* 搜索框样式 */
.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--tcloud-primary);
    box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.1);
}

.btn-outline-light {
    border: 1px solid #e0e0e0;
    color: #666;
    background: #fff;
    border-radius: 4px;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: var(--tcloud-primary);
    color: var(--tcloud-primary);
    background: #fff;
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-weight: 500;
    color: var(--tcloud-dark);
    margin: 0;
}

/* 书签样式 */
.bookmark-item {
    padding: 0.8rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.bookmark-item:hover {
    background-color: #f5f7fa;
}

.bookmark-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 4px;
}

.bookmark-title {
    color: #333;
    font-size: 0.95rem;
}

/* 按钮样式 */
.btn-outline-primary {
    border: 1px solid var(--tcloud-primary);
    color: var(--tcloud-primary);
    border-radius: 4px;
    padding: 0.5rem 1.2rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--tcloud-gradient);
    border-color: transparent;
    color: #fff;
}

/* 页脚样式 */
footer {
    background: #fff !important;
    color: #666;
    padding: 3rem 0;
    border-top: 1px solid #f0f0f0;
}

footer h5 {
    font-weight: 500;
    color: var(--tcloud-dark);
    margin-bottom: 1.25rem;
}

/* 欢迎区域样式 */
.welcome-area {
    background: var(--tcloud-gradient);
    color: #fff;
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.welcome-area h1 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.welcome-area p {
    opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--tcloud-primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .welcome-area {
        padding: 3rem 0;
    }
} 